[deps]
xproto
libx11
xorg-server
libxvmc
xcb-util

[vars]
filesize=2241651
sha512=f44d6d9763587faa9723c47ca5c9c99e2595b2190168ac7cc8ea1fd9d9697ba5ba8ab3b2968913fa291a2fc908170bd1cf3de425312d96d68de458d03c503af4

[mirrors]
http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-2.99.916.tar.bz2

[build]
patch -p1 < "$K"/xf86-video-intel-dri2.patch
./configure -C --prefix="$butch_prefix" \
  --enable-xvmc \
  --enable-dri2 \
  --disable-selective-werror

#  --enable-glamor \

make DESTDIR="$butch_install_dir" -j$MAKE_THREADS install

